package cn.kgc.ebookmanagement.service;

import cn.kgc.ebookmanagement.mapper.EbookcategoryMapper;
import cn.kgc.ebookmanagement.pojo.Ebookcategory;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EbookcategoryServiceImpl implements  EbookcategoryService{
@Resource
    EbookcategoryMapper ebookcategoryMapper;
    @Override
    public List<Ebookcategory> selectAll() {
List<Ebookcategory> ebookcategoryList=ebookcategoryMapper.selectByExample(null);
        return ebookcategoryList;
    }
}
